package com.py.credit.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.py.credit.dao.LoseCreditDao;
import com.py.credit.service.LoseCreditService;
import com.py.credit.service.RemoteBaseService;

@Service
public class LoseCreditServiceImpl implements LoseCreditService {

	@Autowired
	private LoseCreditDao loseCreditDao;

	@Autowired
	private RemoteBaseService remoteBaseService;

	@Transactional
	@Override
	public void initMessData(List<Map> listMap) {
		/*
		 * if(listMap!=null&&listMap.size()>0){ for(int
		 * i=0;i<listMap.size();i++){
		 * 
		 * } }
		 */
		loseCreditDao.deleteLhjcMess();
		loseCreditDao.initMessData(listMap);

	}

	@Override
	public Map mianBodyRate() {
		// TODO Auto-generated method stub
		return loseCreditDao.mianBodyRate();
	}

	@Override
	public List<Map> increaseRateByMonth() {
		// TODO Auto-generated method stub
		return loseCreditDao.increaseRateByMonth();
	}

	@Override
	public List<Map> outRateByMonth() {
		// TODO Auto-generated method stub
		return loseCreditDao.outRateByMonth();
	}

	@Override
	public List<Map> frRegisterRangeTime() {
		// TODO Auto-generated method stub
		return loseCreditDao.frRegisterRangeTime();
	}

	@Override
	public List<Map> frRegisterMoney() {
		// TODO Auto-generated method stub
		return loseCreditDao.frRegisterMoney();
	}

	@Override
	public List<Map> frArea() {
		// TODO Auto-generated method stub
		return loseCreditDao.frArea();
	}

	@Override
	public List<Map> frIndustry() {
		// TODO Auto-generated method stub
		return loseCreditDao.frIndustry();
	}

	@Override
	public List<Map> frOperateeAnalyse() {
		// TODO Auto-generated method stub
		return loseCreditDao.frOperateeAnalyse();
	}

	@Override
	public List<Map> zrrPopProperty() {
		// TODO Auto-generated method stub
		return loseCreditDao.zrrPopProperty();
	}

	@Override
	public List<Map> zrrDegree() {
		// TODO Auto-generated method stub
		return loseCreditDao.zrrDegree();
	}

	@Override
	public List<Map> zrrSex() {
		// TODO Auto-generated method stub
		return loseCreditDao.zrrSex();
	}

	@Override
	public List<Map> zrrJob() {
		// TODO Auto-generated method stub
		return loseCreditDao.zrrJob();
	}

	@Override
	public List<Map> zrrAge() {
		// TODO Auto-generated method stub
		return loseCreditDao.zrrAge();
	}

	@Override
	public List<Map> zrrFeatureAnalyse() {
		// TODO Auto-generated method stub
		return loseCreditDao.zrrFeatureAnalyse();
	}

}
